package net.test;

import net.projects.pro1_weather.WeatherForecast;

import java.util.List;

public class test7_weather {
    public static void main(String[] args) {
        List<String> weatherForecast = WeatherForecast.getweather("beijing");
        if (weatherForecast != null) {
            for (int i = 0; i < weatherForecast.size(); i++) {
                System.out.println("Day " + (i + 1) + ": " + weatherForecast.get(i));
            }
        }
    }
}
